﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Zocono.WCS.Domain.EntityInfo
{
    /// <summary>
    /// 程序信息，开启一个WCS服务端就是一个程序
    /// </summary>
    [SugarTable("ProgrameInfo")]
    public class ProgrameInfo : IEntity
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long ID { get; set; }
        public string ProgrameCode { get; set; }
        public string ProgrameName { get; set; }
        public bool IsStart { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime TickTime { get; set; }

        //public List<JobInfo> jobs;
        //public List<PlcConnectionLockInfo> plcConnectionLocks;
        //public List<PlcConnectionStateInfo> plcConnectionStates;
    }
}
